﻿using System;
using ZLWeb.WebApiEntityBase;

namespace ZLWeb.WebApiInfrastructure.CustomerException
{
    /// <summary>
    ///     存储过程功能异常
    /// </summary>
    [Serializable]
    public class SqlExecuteException : System.Exception
    {
        public SqlExecuteException(string msg, ErrorModel _errormodel)
            : base(msg)
        {
            ErrorModel = _errormodel;
        }

        public ErrorModel ErrorModel { get; set; }
    }
}